﻿Type=Activity
Version=6
ModulesStructureVersion=1
B4A=true
@EndOfDesignText@
#Region  Activity Attributes 
	#FullScreen: False
	#IncludeTitle: True
#End Region

Sub Process_Globals
	'These global variables will be declared once when the application starts.
	'These variables can be accessed from all modules.

End Sub

Sub Globals
	'These global variables will be redeclared each time the activity is created.
	'These variables can only be accessed from this module.
	'Private clv As clsCustomListView
	Private ListView1 As ListView
'	Private ScrollViewEx1 As ScrollViewEx
End Sub

Sub Activity_Create(FirstTime As Boolean)
Dim telaw As telanywhere
telaw.Initialize(Activity)

	'Do not forget to load the layout file created with the visual designer. For example:
	Activity.LoadLayout("laytest")
	InputMultiList(Array As String(),"")
	For i=0 To 99
'		Dim p As Panel
'		p.Initialize("")
'		p.Color=Colors.ARGB(255,Rnd(0,255),Rnd(0,255),Rnd(0,255))
'		Activity.AddView(p,0,0,100%x,Rnd(1,99)/100*100%y)
'		p.RemoveView
'		p.Tag=p.Height
'		clv.Add(p,-2,i)
		ListView1.AddSingleLine("line:"&i)
	Next
	ListView1.RemoveView
'	ScrollViewEx1.Panel.AddView(ListView1,0,50%y,100%x,100%y)
End Sub

Sub Activity_Resume

End Sub
'Sub clv_ItemClick (Index As Int, Value As Object)
'	Dim p As Panel=clv.GetPanel(Index)
'	
'	Log(p.Height &" "&p.Tag)
'	p.Height=p.Height+10dip
'	p.RemoveView
'	clv.RemoveAt(Index)
'	clv.InsertAt(Index,p,-2,Value)
'	'Log(p.Height&"="&p.GetView(0).Height)
'End Sub
Sub Activity_Pause (UserClosed As Boolean)
	
End Sub

